import 'package:my_app_01/service/HttpUtils.dart';

class ListApi {

  /// 获取列表数据
  static Future<Map> getList(data) async {
    var response = await HttpUtils.post(
      "/admin-api/mh_np_fs_morningcheck_info/selectPageList",
      data: data,
    );
    return response;
  }

  /// 获取详情数据
  static Future<Map> selectById(data) async {
    var response = await HttpUtils.post(
      "/admin-api/mh_sys_todo_user/selectById",
      data: data,
    );
    return response;
  }

  /// 获取详情数据
  static Future<Map> doRemove(data) async {
    var response = await HttpUtils.post(
      "/admin-api/mh_sys_todo_user/deleteBatch",
      data: data,
    );
    return response;
  }

  /// 获取详情数据
  static Future<Map> doUpdate(data) async {
    var response = await HttpUtils.post(
      "/admin-api/mh_sys_todo_user/update",
      data: data,
    );
    return response;
  }

  /// 获取详情数据
  static Future<Map> doInsert(data) async {
    var response = await HttpUtils.post(
      "/admin-api/mh_sys_todo_user/insert",
      data: data,
    );
    return response;
  }
}


